// chart datas 


    var option_pie = {
        tooltip: {
            trigger: 'item',
            formatter: "{d}%"
        },
        colors:[],

        series: [
            {
                name:'年龄段',
                type:'pie',
                radius: ['80%', '100%'],
                // avoidLabelOverlap: false,
                label: {
                    normal: {
                       formatter: "{d}%",
                       position: "inner"

                    }
                },
                labelLine: {
                    normal: {
                        show: false
                    }
                },
                data:[
                    {value:335, name:'25岁以下'},
                    {value:310, name:'26~30岁'},
                    {value:234, name:'31~35岁'},
                    {value:135, name:'36~40岁'},
                    {value:548, name:'41~45岁'},
                    {value:123, name:'45岁以上'}

                ]
            }
        ]
    };



    var option_height = {
        
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'cross'
            }
        },
        grid: {
            bottom: '25%'
        },

        legend: {
            data:['人数','占比'],
            left: 'center',
            bottom: 0
        },
        xAxis: [
            {
                type: 'category',
                axisTick: {
                    alignWithLabel: true
                },
                axisLabel: {
                    rotate: 25
                },
                data: ['155cm以下','156~160cm','161~165cm','166~170cm','171~175cm','176~180cm','180cm以上']
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '人数',
                min: 0,
                position: 'left',
                axisLabel: {
                    formatter: '{value}'
                }
            },
            {
                type: 'value',
                name: '占比',
                min: 0,
                position: 'right',
                axisLabel: {
                    formatter: '{value}%'
                },
                splitLine: {
                    show: false
                }
            }
        ],
        series: [
            {
                name:'人数',
                type:'bar',
                barCategoryGap: '70%',
                itemStyle:{
                    normal:{
                        color: 'steelblue'
                    }
                },
                label: {            
                    normal: {
                       show: true, 
                       formatter: "{c}",
                       position: "inside",
                       color: 'black'
                    }
                },
                data:[]
            },
            {
                name:'占比',
                type:'line',
                itemStyle:{
                    normal:{
                        color: 'darkorange',
                    }
                },
                label: {
                    normal: {
                       show: true, 
                       formatter: "{c}%",
                       position: "top",


                    }
                },
                yAxisIndex: 1,
                data:[]
            }
        ]
    };



    var option_weight = {
        
        tooltip: {
            trigger: 'axis',
            axisPointer: {
                type: 'cross'
            }
        },
        grid: {
            bottom: '25%'
        },

        legend: {
            data:['人数','占比'],
            left: 'center',
            top: 'bottom'
        },
        xAxis: [
            {
                type: 'category',
                axisTick: {
                    alignWithLabel: true
                },
                axisLabel: {
                    rotate: 25
                },
                splitLine: {
                    show: true
                },
                data: ['45kg以下','46~50kg','51~55kg','56~60kg','61~65kg','66~70kg', '71~75kg', '76以上']
            }
        ],
        yAxis: [
            {
                type: 'value',
                name: '人数',
                min: 0,
                position: 'left',
                axisLabel: {
                    formatter: '{value}'
                },
                
                splitLine: {
                    show: false
                }
            },
            {
                type: 'value',
                name: '占比',
                min: 0,
                position: 'right',
                axisLabel: {
                    formatter: '{value}%'
                },
                
                splitLine: {
                    show: false
                }
            }
        ],
        series: [
            {
                name:'人数',
                type:'line',
                itemStyle:{
                    normal:{
                        color: 'steelblue'
                    }
                },
                label: {
                    normal: {
                        show: true,
                       formatter: "{c}",
                       position: "bottom",
                       color: 'black'

                    }
                },
                data:[]
            },
            {
                name:'占比',
                type:'line',
                itemStyle:{
                    normal:{
                        color: 'darkorange'
                    }
                },
                label: {
                    normal: {
                        show: true,
                       formatter: "{c}%",
                       position: "top",
                       color: 'darkorange'

                    }
                },
                yAxisIndex: 1,
                data:[]
            }
        ]
    };